package org.dromara.wms.domain.vo;

import java.math.BigDecimal;
import org.dromara.wms.domain.WmsStockLog;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 出入库记录视图对象 wms_stock_log
 *
 * @author wenrui Su
 * @date 2024-03-22
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = WmsStockLog.class)
public class WmsStockLogVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 事务ID
     */
    @ExcelProperty(value = "事务ID")
    private Long id;

    /**
     * 物品id
     */
    @ExcelProperty(value = "物品id")
    private Long productId;

    /**
     * 单位
     */
    @ExcelProperty(value = "单位")
    private String measureUnit;

    /**
     * 批次号
     */
    @ExcelProperty(value = "批次号")
    private String batchCode;

    /**
     * 单据号
     */
    @ExcelProperty(value = "单据号")
    private Long orderId;

    /**
     * 单价
     */
    @ExcelProperty(value = "单价")
    private Long price;

    /**
     * 仓库ID
     */
    @ExcelProperty(value = "仓库ID")
    private Long warehouseId;

    /**
     * 库位ID
     */
    @ExcelProperty(value = "库位ID")
    private Long areaId;

    /**
     * 操作前
     */
    @ExcelProperty(value = "操作前")
    private BigDecimal quantityBefore;

    /**
     * 操作数量
     */
    @ExcelProperty(value = "操作数量")
    private BigDecimal quantity;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;


}
